
<h3>hello m*f*</h3>
<h4>th:text</h4>
<div th:text="${title}"></div>
<p>======================================</p>
<h4>th:if th:unless</h4>
<p th:if="${checked}==true">yes</p>
<p th:unless="${checked}==true">yes</p>
<p th:if="${currentPage} &lt;100">less than 100 show up</p>
<p th:unless="${title} !=null">title not null</p>
<p>======================================</p>
<h4>th:attr</h4>
<p><input type="checkbox" th:checked="${!checked}">是否选中</p>
<p><a th:href="${baidu}" target="_blank">baidu</a></p>
<p><img th:src="${imgSrc}" style="width: 100px; height: 50px"></p>
<p><a th:href="@{'/test/aaa/'+${currentPage}}">内部链接</a></p>
<p><a th:href="@{/test/aaa(currentPage=${currentPage},title=${title})}">链接查询参数</a></p>
<p>======================================</p>
<h4>th:obj</h4>
<p>
    <div th:object="${city}">
    <p>belong country id:<span th:text="*{countryId}"></span></p>
    <p>city name:<span th:text="${city.cityName}"></span></p>
    </div>
</p>
<p>======================================</p>
<h4>th:each</h4>
<ul th:each="city:${cities}">
    <li th:text="${city.dateCreated}" th:value="${city.dateCreated}"></li>
</ul>
<table>
    <tr><td>ID</td><td>CityName</td></tr>
    <tr th:each="stupid:${cities}">
        <td th:text="${stupid.cityId}">  </td>
        <td th:text="${stupid.cityName}">  </td>
    </tr>
</table>

<select >
    <option th:each="citiy:${cities}" th:value="${citiy.cityId}"
    th:text="${citiy.cityName}">
    </option>
</select>











